package com.yonyou.cyxdms.sysAuth.service.dto.user;

import com.yonyou.cyx.function.utils.jsonserializer.JSONUtil;

/**
 * 登陆返回
 *
 * @author: houkaihua
 * @since: 2018/11/6
 * @updateDate:
 * @updateRemark:
 * @version:1.0 Copyright: Copyright (c) 2018
 */
public class UserInfoDto {
    private String userName;
    private Integer userId;
    private String name;
    private String dealerName;
    private String dealerCode;
    private String telPhone;
    private boolean kickOut;
    private String appId;

    /**
     * 客服所在分组ID
     */
    private String groupId;
    /**
     * 客服所在分组Code
     */
    private String groupCode;
    /**
     * 客服所在分组Name
     */
    private String groupName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public boolean isKickOut() {
        return kickOut;
    }

    public void setKickOut(boolean kickOut) {
        this.kickOut = kickOut;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String toString() {
        return JSONUtil.objectToJson(this);
    }
}
